package com.abc.xml.dom;

import com.abc.xml.sax.User;

import java.util.List;

public class DomParseXmlTest {

   public static void main(String[] arg){
      DomUtil domUtil = new DomUtil();

//      List<User> users = domUtil.selectAll();
//      for(User user : users){
//         System.out.println(user.getName());
//      }
//
//      User user = domUtil.selectOneById("1");
//      System.out.println(user.getName());

      User user1 = new User();
      user1.setId("5");
      user1.setName("czc");
      user1.setPassword("2345678");
      domUtil.insert(user1);
   }
}
